#include <iostream>
using namespace std;

int main()
{
    int a = 1;
    char* pa = (char*)&a;
    int c = *pa;
    cout << c  << endl;
    int b = (*pa) & 1;
    cout << b << endl;
    return 0;
}
